/**
 * Redux的使用第二步：将方法进行组合，并导出store
 */
import { configureStore } from "@reduxjs/toolkit";
import counterReducers from "./modules/counterStore";
import channelReducer from "./modules/channelStore";

const store = configureStore({
  reducer: {
    counter: counterReducers,
    channel: channelReducer,
  },
});

export default store;
